package com.deer.wms.system.manage.dao;


import com.deer.wms.system.manage.model.ValidatorModel;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Value;

public interface ValidatorMapper  {



    String findKey(@Param("tableName") String tableName);

    Integer findAddValidator(@Param("tableName") String tableName,@Param("fieldName") String fieldName,@Param("fieldValue") String fieldValue);

    Integer findUpdateValidator(ValidatorModel validatorModel);

    Integer getNextId(@Param("tableName")String tableName,@Param("dbName")String dbName);

    //查询主键列名称
    String findPrimaryKey(ValidatorModel validatorModel);
}